<template>
  <el-card class="box-card">
    <template #header>
      <div class="card-header">
        <span>项目信息</span>
      </div>
    </template>
    <ul class="project-info">
      <li>项目代号：{{ props.project.proj_no }}</li>
      <li>项目名称：{{ props.project.proj_name }}</li>
    </ul>
    <template #footer>Footer content</template>
  </el-card>
</template>

<script setup>
const props = defineProps(["project"]);
</script>

<style scoped lang="scss">
.card-header {
  display: flex;
  align-items: center;
  span {
    // background-color: aqua;
    padding: 8px;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
  }
}

.project-info {
  li {
    margin-bottom: 18px;
  }
}

.box-card {
  width: 400px;
}
</style>
